package com.example.lt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement // 开启事务功能注解
@MapperScan("com.example.lt.mapper") // 配置mapper扫描，把mapper都注册成bean
public class LtMusicServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(LtMusicServerApplication.class, args);
	}

}
